<?php if($istp != 1) echo "-->";?>
<style type="text/css">
  body {	font-family: Verdana, Arial, Helvetica, sans-serif;	font-size: 12px;}
  html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote,
  pre, form, fieldset, table, th, td { margin: 0; padding: 0;}
  ol, ul {	list-style: none;}
  img { border:none 0; }
  .clear{
    clear:both;
  }
  a:link, a:visited{	color:#1e50a2;	text-decoration:none; }
  a:hover {	color:#c00;	text-decoration:underline; }
  a:active {	color:#1e50a2;	text-decoration:none; }
  .sub-nav  {
    background-color: #f0f0f0;
    line-height: 30px;
    padding-right: 15px;
    padding-left: 15px;
    width: 930px;
    margin: 0 auto;
    clear:both;
  }
  .sub-login  {
    float: right;
	_margin-top:3px;
  }
  .sub-menu {
    float: left;
  }
  .sub-login-txt {
    line-height: 14px;
    height: 14px;
    width: 100px;
  }
  .sub-login-submit {
    font-size: 12px;
  }

</style>

<div class="sub-nav">
  <div class="sub-menu">
    <script language="javascript" type="text/javascript">
      var isColumn = "{$isColumn}";
      if (isColumn == 1) {
        var username = "{$username}";
        //document.write('<a href="/bbs">社区首页</a> => '+username+'个人专栏 => 个人专栏');
        document.write('<script src="/main/public.php/publcjs/getColumnInfo/uid/<?=$uid?>/column_type/<?=$column_type?>/sub_id/<?=$sub_id?>"><'+'/script>');
      }else {
        document.write('<script src="/main/public.php/publcjs/getGroupInfo/cyid/<?=$cyid?>/aid/{$aid}/t/"'+Math.random()+'><'+'/script>');
        //document.write('<script src="/main/public.php/publcjs/gourpLine/cyid/<?=$cyid?>/t="'+Math.random()+'><'+'/script>');
      }
    </script>

  </div>
  <if condition="$dev eq 1">
    <div class="sub-login">
      <form action="/main/public.php/search/index/" method="get">
        <label><input name="content" type="text" style="height:14px; font-size:12px;" /></label>
        <label>
          <select name="type" style="font-size:12px; height:20px;" >
            <option value="6">用户</option>
            <option value="7">群组</option>
            <option value="8">帖子</option>
            <option value="9">博文</option>
          </select>
        </label>
        <label><input name="" type="submit" class="btn-search" value=""/></label>
      </form>
    </div> 
  </if>

  <div class="clear"></div>
</div>

<!-- 想办法搞成静态
<link href="/main/PublicFunction/Tpl/default/style/group-style.css" rel="stylesheet" type="text/css" />
<div class="submenu-search">
  <div class="search">
    <div class="sub-menu">EHS中国 => 社区首页</div>
    <div class="search-box">
      <form>
        <label><input name="" type="text" style="height:14px;" /></label>
        <label><select name="" style=" font-size:13px; _font-size:12px;" ><option value="选择">选择</option></select></label>
        <label><input name="" type="button" class="btn-search" /></label>
      </form>
    </div>
  </div>
</div>
-->
<?php if($istp != 1) echo "<!--";?>



